<?php

use yii\helpers\Url;
use yii\helpers\ArrayHelper;
?>
<?php foreach ($data as $item): ?>
    <li class="mui-table-view-cell">
        <div class="mui-table">
            <div class="mui-table-cell mui-col-xs-8">
                <h5>单价：<font color="red">￥<?php echo Yii::$app->formatter->asDecimal($item["brush_price"]); ?></font>，数量：<?php echo $item["operatecount"]; ?>，状态：<?php echo ArrayHelper::getValue(frontendm\models\WB_UserTaskOperate::$status, ArrayHelper::getValue($item, "status")); ?></h5>
                <p class="mui-h6 mui-ellipsis"><?php echo $item["title"]; ?></p>
            </div>
            <div class="mui-table-cell mui-col-xs-4 mui-text-right">
                <span class="mui-h5"><button type="button" class="mui-btn mui-btn-danger" url="<?php echo Url::toRoute(["taskdetail", "taskid" => $item["taskid"], "id" => $item["id"]]) ?>">继续任务&nbsp;></button></span>
            </div>
        </div>
    </li>
<?php endforeach; ?>